package com.college.collegeinfomanage.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.college.collegeinfomanage.dto.AcademicProgramsDTO;
import com.college.collegeinfomanage.entity.AcademicPrograms;
import com.college.collegeinfomanage.vo.AcademicProgramsListVO;
import com.college.collegeinfomanage.vo.UniversityListVO;

import java.util.List;

public interface AcademicProgramsService extends IService<AcademicPrograms> {

    /**
     * 获取所有高校
     * @return
     */
    List<UniversityListVO> universityAll();

    /**
     * 分页查询
     * @param academicProgramsdto
     * @return
     */
    IPage<AcademicProgramsListVO> getPage(AcademicProgramsDTO academicProgramsdto);

    /**
     * 修改
     * @param academicPrograms
     * @return
     */
    boolean modify(AcademicPrograms academicPrograms);
}
